﻿@model IList<Downloader.Domain.Category>
<ul>
    <li>
        <a href="/">首页</a>
    </li>
     <li class="menuLine"></li>
    @{
        foreach (var category in Model)
        {
        <li>
            @if (category.Id == 7 || category.Id == 10)
            {
                <a href="@Url.Action("ImgList", "List", new { categoryId = @category.Id, pageIndex = 1, pageSize = 20 })">@category.Name</a>
            }
            else
            {
                <a href="@Url.Action("List", "List", new { categoryId = @category.Id, pageIndex = 1, pageSize = 20 })">@category.Name</a>
            }
        </li>
        <li class="menuLine"></li>
        }
    }
</ul>

